<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="jq.js"></script>
</head>
<body>
<form>
    <label>账户</label><input name="account" type="text">
    <br>
    <label>密码</label><input name="account" type="password">
    bmw<input name="car" type="checkbox">
    benz<input name="car" type="checkbox">


    <!--猫<input name="gender" type="radio">-->
    <!--狗<input name="gender1" type="radio">-->
    <br>
    <button>登录</button>
</form>

<script>
    //选中所有的input
    // $(':input').css('background-color',"green")
    //选中所有的text框
    // $(':text').css('background-color',"green")
    // $(':radio').css('background-color',"green")

    $(':checkbox').css('background-color',"green")

</script>
</body>
</html>